package com.briup.ch06;
class Super{
    protected int test()
    {
        return 1;
    }
}
class Sub extends Super{
  /*  public long test()
    {
        return 0L;
    }*/
    public int test()
    {
        return 0;
    }
}
public class Test12 {
    public static void main(String[] args) {
        Super s=new Sub();
        System.out.println(s.test());
    }
}
